<template>
  <div class="app-index">
    <img alt="美团外卖商家中心" src="@/assets/image/about_us_banner_logo.png" class="img">
  </div>
</template>
<script>
import store from '@/store/';
export default {
    data(){
      return{
        
      }
    },
    created(){
      //  验证是否登录状态
      if(!window.localStorage.getItem('x-access-token')){
       store.dispatch('FedLogOut').then(() => this.$router.push({
          path: '/'
        }));
      }
    }
}
</script>

<style lang="scss">
  .app-index {
    img {
      margin: auto;
      position: absolute;
      top: 40%;
      bottom: 60%;
      left: 40%;
      right: 60%;
    }
  }
</style>
